<template>
  <div>
    phone页面
    <el-button v-permissionAdd="route" type="primary">添加</el-button>
    <el-button v-permissionUpdate="route" type="success">更改</el-button>
    <el-button v-permissionDel="route" type="danger">删除</el-button>
  </div>
</template>
<script setup>
import { useRoute, useRouter } from "vue-router"
// 得到 route 对象
const route = useRoute()
</script>
<style scoped lang="less"></style>
